package com.qdlc.p2p.biz.tpp.model;

import com.qdlc.p2p.common.constant.SinaConstant;
import com.qdlc.p2p.common.util.DateUtil;
import com.qdlc.p2p.common.util.OrderNoUtil;


/**
 * 新浪 - 解冻余额
 * @author zlhx
 * @version 2.0
 * @date 2015年8月11日 下午2:18:11
 */
public class SinaBalanceUnFreeze extends SinaModel {
	
	public SinaBalanceUnFreeze(){
		super();
	}
	
	public SinaBalanceUnFreeze(String identity_id,String out_freeze_no,String amount,String summary,String extend_param){
		super();
		this.amount = amount;
		this.summary = summary;
		this.out_unfreeze_no = OrderNoUtil.getInstance().getSerialNumber();
		this.out_freeze_no = out_freeze_no;
		this.setExtend_param(extend_param);
		this.setRequest_time(DateUtil.dateStr3(DateUtil.getNow()));
		this.setIdentity_id(identity_id);
		this.setIdentity_type(SinaConstant.IDENTITY_TYPE_UID);
		this.setService("balance_unfreeze");
	}
	
	/**
	 * 解冻订单号
	 */
	private String out_unfreeze_no;
	
	/**
	 * 原冻结订单号
	 */
	private String out_freeze_no;
	
	/**
	 * 解冻金额  为空表示全额解冻
	 */
	private String amount;
	
	/**
	 * 摘要
	 */
	private String summary;
	
	
	/**
	 * 待签名字符数组
	 */
	private String[] signParamNames = new String[]{"service","version","request_time","partner_id","_input_charset","identity_id","identity_type","out_freeze_no","out_unfreeze_no","summary"};
	
	/**
	 * 提交签名字符数组
	 */
	private String[] subParamNames = new String[]{"service","version","request_time","partner_id","_input_charset","identity_id","identity_type","out_freeze_no","out_unfreeze_no","summary","sign_type","sign"};

	
	

	/**
	 * 获取 解冻订单号
	 * @return 
	 */
	public String getOut_unfreeze_no() {
		return out_unfreeze_no;
	}

	/**
	 * 设置 解冻订单号
	 * @param 
	 */
	public void setOut_unfreeze_no(String out_unfreeze_no) {
		this.out_unfreeze_no = out_unfreeze_no;
	}

	/**
	 * 获取 原冻结订单号
	 * @return 
	 */
	public String getOut_freeze_no() {
		return out_freeze_no;
	}

	/**
	 * 设置 原冻结订单号
	 * @param 
	 */
	public void setOut_freeze_no(String out_freeze_no) {
		this.out_freeze_no = out_freeze_no;
	}

	/**
	 * 获取 解冻金额 为空表示全额解冻
	 * @return 
	 */
	public String getAmount() {
		return amount;
	}

	/**
	 * 设置 解冻金额 为空表示全额解冻
	 * @param 
	 */
	public void setAmount(String amount) {
		this.amount = amount;
	}

	/**
	 * 获取 摘要
	 * @return 
	 */
	public String getSummary() {
		return summary;
	}

	/**
	 * 设置 摘要
	 * @param 
	 */
	public void setSummary(String summary) {
		this.summary = summary;
	}

	/**
	 * 获取 待签名字符数组
	 * @return 
	 */
	public String[] getSignParamNames() {
		return signParamNames;
	}

	/**
	 * 设置 待签名字符数组
	 * @param 
	 */
	public void setSignParamNames(String[] signParamNames) {
		this.signParamNames = signParamNames;
	}

	/**
	 * 获取 提交签名字符数组
	 * @return 
	 */
	public String[] getSubParamNames() {
		return subParamNames;
	}

	/**
	 * 设置 提交签名字符数组
	 * @param 
	 */
	public void setSubParamNames(String[] subParamNames) {
		this.subParamNames = subParamNames;
	}
}
